package kr.hkit.powerjava.chapter23;

public class MyThread extends Thread{

	@Override
	public void run() {
		for (int i = 100; i > 0; i--) {
			System.out.print(i + " ");
			try {
				Thread.sleep(500);		//0.5초 
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		
		System.out.println("MyThread end");
	}
	
	
}
